<?php
/**
 * Created by PhpStorm.
 * User: 路慧铭 <958808264@qq.com>
 * Date: 2020-06-10
 * Time: 11:38
 */

$path = dirname(__FILE__);
$shell = 'cd ' . $path .' && .git/hooks/post-receive';
exec($shell);
echo 'success';